package com.muyu.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.muyu.entity.UserEntity;
import com.muyu.vo.UserPageVO;
import org.springframework.stereotype.Repository;

/**
 * @ClassName: UserMapper
 * @Author: Zirun.Xin
 * @Date: 2025/4/8 上午10:05
 * @Version: 1.0
 * @Description: 用户持久层
 */
@Repository
public interface UserMapper extends BaseMapper<UserEntity> {

    /**
     * 用户分页查询
     * @param page 分页信息
     * @return 查询内容
     */
    IPage<UserPageVO> selectUserPage(Page<UserPageVO> page);
}
